package com.akk.utils;

import java.util.ArrayList;
import java.util.List;

/**
 * @company www.lovekaka.com
 * @auther hainlc
 * @create 2017/05/31 10:29
 */
public class ListUtils {

    public static List<Long> getListByArrayLong(Long[] longs) {
        List<Long> list = new ArrayList<>();
        for (Long l : longs ) {
            list.add(l);
        }
        return list;
    }
    public static List<Integer> getListByArrayInteger(Integer[] ints) {
        List<Integer> list = new ArrayList<>();
        for (Integer l : ints ) {
            list.add(l);
        }
        return list;
    }
}
